{# 继承 layout 模板 #}
{% extends '../layout.njk' %}

{# 标题 #}
{% block title %}
学生登录
{% endblock%}

{# CSS #}
{% block cssLinks %}
{{ super() }}
{% endblock %}

{# 页面内容 #}
{% block content %}
<h3 class="title">学生登录</h3>
<div class="container">
    <div>{{ tip.message }}</div>
    <form action="/student/sign/in" method="post">
        学生姓名:
        <input type="text" name="name" value="{{ tip.value }}" >
        <button>登录</button>
    </form>
</div>
{% endblock %}